﻿/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2021/1/31 21:45:10
 *        Description: 暂无
 ***********************************************************************/

using System;
using System.Diagnostics.Eventing.Reader;

namespace CoreShop.Model
{
    /// <summary>
    /// 修改商品实体
    /// </summary>
    public class SpuSpecUpdateDto
    {
        /// <summary>
        /// 规格ID
        /// </summary>
        public long pdtSpuSpecId { set; get; }
        /// <summary>
        ///  商品ID
        /// </summary>
        public long spuId { set; get; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal saPrice { set; get; }

        /// <summary>
        ///  是否主规格 0是1否
        /// </summary>
        public int canDefault { set; get; } 
       
    }

    public class BranchPriceDto
    {
        /// <summary>
        /// 商户ID
        /// </summary>
        public long tenantId { set; get; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public long branchId { set; get; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public long spuId { set; get; }

        /// <summary>
        /// 商品规格
        /// </summary>
        public long pdtSpuSpecId { set; get; }
        
        /// <summary>
        /// 单价
        /// </summary>
        public decimal saPrice { set; get; }
    }

}